import { httpDelete, httpGet, httpPost, httpPut } from "@/utils/http"

// 获取机构数据
export const findTagsApi = (data) => {
    return httpPost('/tags/search', data)
}
// 添加机构数据
export const addTagsApi = (data) => {
    return httpPost('/tags/add', data)
}
// 删除机构数据
export const deleteTagsApi = (data) => {
    return httpDelete('/tags/remove', data)
}
// 修改机构数据
export const updateTagsApi = (data) => {
    return httpPut('/tags/update', data)
}
// 获取一个机构详情 
export const detailTagsApi = (data) => {
    return httpGet('/tags/detail', data)
}